<?xml version="1.0" encoding="UTF-8" ?>
<!--
    Document   : cadastrarProduto
    Created on : 01 nov 2011, 11:17:59
    Author     : vinicius
-->
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:a4j="http://richfaces.org/a4j"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:fn="http://java.sun.com/jsp/jstl/functions">

    <ui:composition template="template.xhtml">
        <ui:define name="title"></ui:define>
        <ui:define name="body">
            <br></br><br></br><br></br><br></br><br></br>
            <h:panelGrid columns="2"  styleClass="tabelaRich500"
                         columnClasses="col30Right, alignCenter">
                <h:form>
                    <h:panelGrid columns="2" styleClass="tabelaRich500" columnClasses="col4, col5">
                        <h:outputText value="#{msgs['nome.usuario']}: "  />
                        <h:inputText id="nome" value="#{usuarioBusiness.usuario.login}" required="false"/>
                    </h:panelGrid>

                    <h:panelGrid columns="2" styleClass="tabelaRich500" columnClasses="col4, col5">
                        <h:outputText value="#{msgs['senha.usuario']}: "  />
                        <h:inputSecret id="senha" value="#{usuarioBusiness.usuario.senha}"  required="false"/>
                        
                    </h:panelGrid>
                    
                    <div id="messagelogin">
                    <h:messages/>
                    </div>
                    
                    <h:panelGrid columns="2" styleClass="botoes">
                        <h:commandButton action="#{usuarioBusiness.autenticaUsuario()}" value="#{msgs['system.salvar']}" />
                        <h:commandButton  value="#{msgs['system.cancelar']}"  />
                    </h:panelGrid>
                </h:form>
            </h:panelGrid>

            <div id="logologin">
                <h:graphicImage value="../imagens/login.png" width="60" height="60"/>
            </div>
        </ui:define>
    </ui:composition>
</html>
